<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">

	<h:form>
		<h1 style="color:MediumBlue;">Kullanıcı Kayit Sayfasi</h1>
		<rich:panel>
			<h:panelGrid columns="2" rowClasses="prop" columnClasses="name,value">
				<h:outputLabel for="username">Kullanici Adi</h:outputLabel>
				<h:inputText id="username" value="#{userLogin.userName}" />
				<h:outputLabel for="password">Sifre</h:outputLabel>
				<h:inputText id="password" value="#{userLogin.password}" />
				<h:outputLabel for="username">Kullanici Tipi</h:outputLabel>
				<h:selectOneMenu value="#{userLogin.role}" style="width:157px;">
					<f:selectItems value="#{userLogin.selectItems}" />
				</h:selectOneMenu>
				<h:outputLabel value="" />
				<h:outputLabel value="" />
				<h:outputLabel value="" />
				<a4j:commandButton value="Kayit Ol" style="width:157px; font-weight:bold;font-size:large;"
					action="#{userLogin.userRegister()}" onclick="Richfaces.hideModalPanel('registerModal')" />
			</h:panelGrid>
		</rich:panel>
	</h:form>
</ui:composition>
